﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class L_TuoGuan:NFinal.Struct
    {
		public System.Int32? ID {get;set;}
		public System.String OpenID {get;set;}
		public System.String xingming {get;set;}
		public System.String weizhi {get;set;}
		public System.String xiaoqu {get;set;}
		public System.String fangxing {get;set;}
		public System.String shi {get;set;}
		public System.String ting {get;set;}
		public System.String chu {get;set;}
		public System.String wei {get;set;}
		public System.DateTime? addTime {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"ID\":");
					tw.Write(ID==null?"null" : ID.ToString());
					tw.Write(",");
					tw.Write("\"OpenID\":");
					tw.Write("\"");
					tw.Write(OpenID==null?"null":OpenID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"xingming\":");
					tw.Write("\"");
					tw.Write(xingming==null?"null":xingming);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"weizhi\":");
					tw.Write("\"");
					tw.Write(weizhi==null?"null":weizhi);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"xiaoqu\":");
					tw.Write("\"");
					tw.Write(xiaoqu==null?"null":xiaoqu);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"fangxing\":");
					tw.Write("\"");
					tw.Write(fangxing==null?"null":fangxing);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"shi\":");
					tw.Write("\"");
					tw.Write(shi==null?"null":shi);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ting\":");
					tw.Write("\"");
					tw.Write(ting==null?"null":ting);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"chu\":");
					tw.Write("\"");
					tw.Write(chu==null?"null":chu);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"wei\":");
					tw.Write("\"");
					tw.Write(wei==null?"null":wei);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"addTime\":");
					tw.Write("\"");
					tw.Write(addTime==null?"null":addTime.ToString());
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
